package com.yxw.job.feign.client;

import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import com.yxw.job.feign.fallback.CustomServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "custom-service", fallbackFactory = CustomServiceFallbackFactory.class)
public interface CustomServiceFeignClient {

    /**
     * 数据管理-进行渠道活跃统计
     */
    @PostMapping("/channel_statistics/v1/channelStatistics")
    BaseResult insertChannelStatistics();

    /**
     * 数据管理-进行客服维护统计
     */
    @PostMapping("/stand_statistics/v1/standStatistics")
    BaseResult insertStandStatistics();

    /**
     * 抽取客服接待客户数统计（群维度）
     */
    @PostMapping(value = "/notice/execChatStatistics")
    BaseResult execChatStatistics();
}
